package com.cloudeasy;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.retry.annotation.EnableRetry;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * Create By 郭金宝 on 2019/1/15.<br>
 */
@EnableRetry
@EnableCaching
@EnableHystrix
@EnableFeignClients
@EnableDiscoveryClient
@SpringBootApplication
@EnableTransactionManagement
@Slf4j
public class CloudEasyTpcApplication {
    public static void main(String[] args) {
        SpringApplication.run(CloudEasyTpcApplication.class, args);
        log.info("【【【【【【【【任务服务中心服务CloudEasyTpcApplication启动成功！】】】】】】】】");

    }
}
